package cn.stylefeng.guns.modular.yingbao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 协议设置
 * </p>
 *
 * @author jj
 * @since 2020-01-10
 */
@TableName("yingbao_sys_protocol")
public class SysProtocol implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    @TableField("protocol")
    private String protocol;


    @TableField("title")
    private String title;

    @TableField("type")
    private int type;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "SysProtocol{" +
                "id=" + id +
                ", protocol='" + protocol + '\'' +
                ", title='" + title + '\'' +
                ", type=" + type +
                '}';
    }
}
